package com.nageoffer.subject.domain.service;

import com.nageoffer.subject.domain.entity.SubjectCategoryBO;

import java.util.List;

public interface SubjectCategoryDomainService {
    /**
     * 新增题目分类
     *
     * @param subjectCategoryBO 题目分类请求实体
     */
    void add(SubjectCategoryBO subjectCategoryBO);

    /**
     * 查询所有题目分类
     */
    List<SubjectCategoryBO> queryCategory(SubjectCategoryBO subjectCategoryBO);

    /**
     * 更新刷题分类
     */
    Boolean updateCategory(SubjectCategoryBO subjectCategoryBO);

    /**
     * 删除刷题分类
     */
    Boolean deleteCategory(SubjectCategoryBO subjectCategoryBO);
}
